﻿using System;
namespace Task.Common.Entity
{
	/// <summary>
	/// DelegationEntitiy:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class DelegationEntitiy
	{
		public DelegationEntitiy()
		{}
		#region Model
		private string _delegation_id;
		private string _process_name;
		private string _step_name;
		private string _task_user;
		private string _delegator_user;
		private DateTime? _start_date;
		private DateTime? _end_date;
		private string _comment;
		private DateTime? _create_date;
		private string _create_by;
		private DateTime? _update_date;
		private string _update_by;
		private DateTime? _effect_from;
		private DateTime? _effect_to;
		private string _is_active;
		private string _delegator_status;
        private string _summary;
		/// <summary>
		/// 委托ID
		/// </summary>
		public string DELEGATION_ID
		{
			set{ _delegation_id=value;}
			get{return _delegation_id;}
		}
		/// <summary>
		/// 流程名称
		/// </summary>
		public string PROCESS_NAME
		{
			set{ _process_name=value;}
			get{return _process_name;}
		}
		/// <summary>
		/// 步骤名称
		/// </summary>
		public string STEP_NAME
		{
			set{ _step_name=value;}
			get{return _step_name;}
		}
		/// <summary>
		/// 委托人
		/// </summary>
		public string TASK_USER
		{
			set{ _task_user=value;}
			get{return _task_user;}
		}
		/// <summary>
		/// 被委托人
		/// </summary>
		public string DELEGATOR_USER
		{
			set{ _delegator_user=value;}
			get{return _delegator_user;}
		}
		/// <summary>
		/// 开始日期
		/// </summary>
		public DateTime? START_DATE
		{
			set{ _start_date=value;}
			get{return _start_date;}
		}
		/// <summary>
		/// 结束日期
		/// </summary>
		public DateTime? END_DATE
		{
			set{ _end_date=value;}
			get{return _end_date;}
		}
		/// <summary>
		/// 备注
		/// </summary>
		public string COMMENT
		{
			set{ _comment=value;}
			get{return _comment;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime? CREATE_DATE
		{
			set{ _create_date=value;}
			get{return _create_date;}
		}
		/// <summary>
		/// 创建人
		/// </summary>
		public string CREATE_BY
		{
			set{ _create_by=value;}
			get{return _create_by;}
		}
		/// <summary>
		/// 更新时间
		/// </summary>
		public DateTime? UPDATE_DATE
		{
			set{ _update_date=value;}
			get{return _update_date;}
		}
		/// <summary>
		/// 更新人
		/// </summary>
		public string UPDATE_BY
		{
			set{ _update_by=value;}
			get{return _update_by;}
		}
		/// <summary>
		/// 开始有效时间
		/// </summary>
		public DateTime? EFFECT_FROM
		{
			set{ _effect_from=value;}
			get{return _effect_from;}
		}
		/// <summary>
		/// 结束时间
		/// </summary>
		public DateTime? EFFECT_TO
		{
			set{ _effect_to=value;}
			get{return _effect_to;}
		}
		/// <summary>
		/// 0未激活 1已激活 2失效
		/// </summary>
		public string IS_ACTIVE
		{
			set{ _is_active=value;}
			get{return _is_active;}
		}
		/// <summary>
		/// 0:待确认
        //1:已完成
        //2:已取消
        //3:已确认生效
        //4:被拒绝
		/// </summary>
		public string DELEGATOR_STATUS
		{
			set{ _delegator_status=value;}
			get{return _delegator_status;}
		}
        /// <summary>
        /// 标题
        /// </summary>
        public string Summary 
        {
            set { _summary = value; }
            get { return _summary; }
        }

		#endregion Model

	}
}

